package com.docker.apps.afterservice.utils;

import android.databinding.BindingAdapter;
import android.widget.LinearLayout;

import com.docker.apps.order.vo.ServiceDetailVo;

/**
 * kxf -> 2020-03-10
 **/
public class AfterServiceUtils {

    public static String getAfterStatus(ServiceDetailVo serviceDetailVo) {
        String status="";
        switch (serviceDetailVo.getStatus()) {
            case "0":
                status="待审核";
                break;
            case "1":
                status="退换货中";
                break;
            case "2":
                status="已退款";
                break;
            case "3":
                status="申请失败";
                break;
        }
        return status;
    }

}
